﻿<%@ Page Language="VB" AutoEventWireup="false" MasterPageFile="~/NavegacaoMaster.master" CodeFile="subcategoria.aspx.vb" Inherits="forum_subcategoria" %>



<asp:Content ID="Content1" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
     <div>
    
         <table style="width:100%;">
             <tr>
                 <td style="width: 15px">
                     &nbsp;</td>
                 <td style="width: 600px">
                     <p class="titulo-pagina">
                         <asp:Label ID="lblCaminho" runat="server" Text="Label"></asp:Label>
                     </p></td>
             </tr>
             <tr>
                 <td style="width: 15px">
                     &nbsp;</td>
                 <td style="width: 600px">
                     &nbsp;</td>
             </tr>
             <tr>
                 <td style="width: 15px">
                     &nbsp;</td>
                 <td style="width: 600px">
         <a class="forum-voltar"> <asp:LinkButton ID="LinkButton1" runat="server">&lt;&lt; Voltar</asp:LinkButton> </a>
                 </td>
             </tr>
             <tr>
                 <td style="width: 15px">
                     &nbsp;</td>
                 <td style="width: 600px">
                     &nbsp;</td>
             </tr>
             <tr>
                 <td style="width: 15px">
                     &nbsp;</td>
                 <td style="width: 600px">
                     <table style="border-width: 0px; padding: 0px; margin: 0px; width:100%; border-spacing: 0px;" 
                                        __designer:mapid="6">
                         <tr __designer:mapid="7">
                             <td style="padding: 0px; margin: 0px; border-style: solid; border-width: 0px; background-color: #DD4814; text-align: left; vertical-align: top; width: 403px;" 
                                                __designer:mapid="9">
                                 <asp:Label ID="lblTituloSubcategoria" runat="server" Font-Bold="True" ForeColor="White" 
                                                    Text='<%# Eval("Nome") %>'></asp:Label>
                             </td>
                             <td style="background-color: #DD4814" __designer:mapid="c">
                                 <table style="width:100%;" __designer:mapid="d">
                                     <tr __designer:mapid="e">
                                         <td style="font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; text-transform: capitalize; line-height: 12px; color: #FFFFFF; text-align: center;" 
                                                            __designer:mapid="13">
                                             <asp:LinkButton ID="lnkBtnAddTopico" runat="server" 
                                                 CssClass="forum-link-header">+ Adicionar Tópico</asp:LinkButton>
                                         </td>
                                     </tr>
                                 </table>
                             </td>
                         </tr>
                     </table>
                 </td>
             </tr>
             <tr>
                 <td style="width: 15px">
                     &nbsp;</td>
                 <td style="width: 600px">
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="594px">
            <RowStyle CssClass="forum-celula" />
            <Columns>
                <asp:HyperLinkField DataNavigateUrlFields="Id" 
                    DataNavigateUrlFormatString="topico.aspx?id={0}" DataTextField="assunto" 
                    HeaderText="Tópico" >
                <HeaderStyle HorizontalAlign="Left" />
                <ItemStyle Width="250px" />
                </asp:HyperLinkField>
                <asp:BoundField DataField="criador" HeaderText="Criado por" />
                <asp:BoundField DataField="TotalPosts" HeaderText="Posts" />
                <asp:BoundField DataField="totalVisualizacoes" HeaderText="Visualizações" />
                <asp:BoundField DataField="Visivel" HeaderText="Visibilidade" />
                <asp:HyperLinkField DataNavigateUrlFields="Id" 
                    DataNavigateUrlFormatString="adm_editar_topico.aspx?id={0}" Text="Editar" />
                <asp:HyperLinkField DataNavigateUrlFields="id" 
                    DataNavigateUrlFormatString="excluir.aspx?tipo=topico&amp;id={0}" 
                    Text="Excluir" />
            </Columns>
            <HeaderStyle CssClass="forum-celulaCinza" />
        </asp:GridView>
                 </td>
             </tr>
             </table>
         <br />
         <br />
        <br />    
    </div>
</asp:Content>
